//////////////////////////////////////////
//////     Breeze v1.0
//////     
//////     Originally based on OSX Complete Skin by rbg08
//////     System information based on systeminfoplus by arbitrajeu 
////// 	   Launch area based on code by fishboy
//////	   Dll and links for control panel by Richard L. Owens
//////     Thanks to LightMan for the graphics
//////     Thanks to LordTwisted for the moon graphics
//////////////////////////////////////////



maxheight,100
height,100

////// VARIABLES FOR MAIN  /////
// var1		- Toggle main/main alternate display

////// VARIABLES FOR SYSTEM INFORMATION  /////
// var2		- Toggle memory display
// var3		- Toggle storage display
// var4		- Toggle uptime display
// var5		- Toggle memory display mode
// var6		- Toggle storage display mode
// var7		- Toggle battery time display mode
// var8		- TEMPORARY variable

////// VARIABLES FOR WEATHER REGION   ///////
// var9		-
// var10	-
// var11	-
// var12	- First city in configuration utility
// var13	- 

////// VARIABLES FOR RSS  /////////////////
// var14	-
// var15	-
// var16	-
// var18 	-

///// VARIABLES FOR LAUNCH ///////////////////
// var19 	- state of launch icon (not used)


////////// MISC VARIABLES ///////////////////////////////
// var30	- moon phases
// var31	- weather icon set
////////////////////////////////////////

initvar,var1,500
initvar,var2,0
initvar,var3,1
initvar,var4,1
initvar,var5,1
initvar,var6,1
initvar,var7,1
initvar,var14,1
initvar,var31,0

initregion,0,500		// BEGIN ON MAIN PAGE WITH TASKBAR AND LAUNCH
initregion,11,0
initregion,3,0


if,var,var31,,=,0
options,weathericondir,Weather Icons\Stardock,png
else
if,var,var31,,=,1
options,weathericondir,Weather Icons\Timmy,png
else
options,weathericondir,Weather Icons\Accu_new,gif
endif
endif



options,imagedir,Images\Breeze
changefont,tahoma,12,

color,transparent,255_0_255
color,replacement,-1_6_-1,0_0_0
color,shadow,125_125_125

calcvar,var13,fromconfig,numcities
calcvar,var18,fromconfig,numrss

//////////////////////////////////////////////////
//  TASKBAR
///////////////////////////////////////////////////
region,3,0,-1
defregion,3,0,0,240,21,2


offset,offset_-1,offset_-1

/////////////////////////////////////////////////////
//GO HOME

if,region,0,500
image,140,0,taskbar home button.png,t
button,140,0,20,17,0,8,4,0
button,140,0,20,17,0,4,%var1%,-1			//CHECK FOR FOR SUN VRS MOON ICON
button,140,0,20,17,-1,6,var12=1				//RESET RSS TO FIRST CITY
button,140,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

else

if,region,0,400
image,140,0,taskbar home button.png,t
button,140,0,20,17,0,8,4,0
button,140,0,20,17,0,4,%var1%,-1			//CHECK FOR FOR SUN VRS MOON ICON
button,140,0,20,17,-1,6,var12=1				//RESET RSS TO FIRST CITY
button,140,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

else

if,region,0,200
image,140,0,taskbar home button.png,t
button,140,0,20,17,0,8,4,0
button,140,0,20,17,0,4,%var1%,-1				//CHECK FOR FOR SUN VRS MOON ICON
button,140,0,20,17,-1,6,var12=1				//RESET RSS TO FIRST CITY
button,140,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH
else

image,140,0,taskbar home button_off.png,t
button,140,0,20,17,0,8,4,0
button,140,0,20,17,0,4,%var1%,-1				//CHECK FOR FOR SUN VRS MOON ICON
button,140,0,20,17,-1,6,var12=1				//RESET RSS TO FIRST CITY
button,140,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

endif
endif
endif

////////////////////////////////////////////////////////////////////////////////////////////////
//GO TO WEATHER

if,region,0,1
image,160,0,taskbar weather button.png,t
button,160,0,20,17,0,4,1,-1
button,160,0,20,17,9,4,0,-1
button,160,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH
//button,160,0,20,17,-1,6,var12=1			//RESET TO HOME CITY

else

if,region,9,1
image,160,0,taskbar weather button.png,t
button,160,0,20,17,0,4,1,-1
button,160,0,20,17,9,4,0,-1
button,160,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH
//button,160,0,20,17,-1,6,var12=1			//RESET TO HOME CITY

else
image,160,0,taskbar weather button_off.png,t
button,160,0,20,17,0,4,1,-1
button,160,0,20,17,9,4,0,-1
button,160,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH
//button,160,0,20,17,-1,6,var12=1			//RESET TO HOME CITY
endif
endif



//GO TO RSS

if,region,0,100
image,180,0,taskbar rss button.png,t
button,180,0,20,17,0,4,100,-1
button,180,0,20,17,16,4,0,-1
button,180,0,20,17,-1,6,var14=1				//RESET TO PAGE 1
button,180,0,20,17,-1,6,var16=1				//RESET TO FIRST ITEM
button,180,0,20,17,-1,6,var12=1				//RESET TO HOME CITY
button,180,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

else

image,180,0,taskbar rss button_off.png,t
button,180,0,20,17,0,4,100,-1
button,180,0,20,17,16,4,0,-1
button,180,0,20,17,-1,6,var14=1				//RESET TO PAGE 1
button,180,0,20,17,-1,6,var16=1				//RESET TO FIRST ITEM
button,180,0,20,17,-1,6,var12=1				//RESET TO HOME CITY
button,180,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

endif

////////////////////////////////////////////////////////////////////////////////////////////////////
////GO TO TIME			

if,region,0,5
image,200,0,taskbar time button.png,t
button,200,0,20,17,0,4,5,-1
button,200,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

else

if,region,0,6
image,200,0,taskbar time button.png,t
button,200,0,20,17,0,4,5,-1
button,200,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

else

image,200,0,taskbar time button_off.png,t
button,200,0,20,17,0,4,5,-1
button,200,0,20,17,11,4,0,-1				//MAXIMIZE LAUNCH

endif
endif

//////////////////////////////////////////////////////////////////////////////////
//GO TO CONTROL PANEL

if,region,0,11
image,220,0,taskbar system button.png,t
button,220,0,20,17,0,4,11,-1			//MIMIMIZE LAUNCH 
button,220,0,20,17,11,4,3,-1


else

if,region,0,12
image,220,0,taskbar system button.png,t
button,220,0,20,17,0,4,11,-1
button,220,0,20,17,11,4,3,-1

else

if,region,0,13
image,220,0,taskbar system button.png,t
button,220,0,20,17,0,4,11,-1			//MIMIMIZE LAUNCH 
button,220,0,20,17,11,4,3,-1

else

image,220,0,taskbar system button_off.png,t
button,220,0,20,17,0,4,11,-1			//MIMIMIZE LAUNCH 
button,220,0,20,17,11,4,3,-1

endif
endif
endif
		

offsetadd,0,18
endregion,3,0

///////////////////////////////////////////////////////////////
////////////// END TASKBAR
////////////////////////////////////////////////////////////////

defregion,0,0,0,240,54,15



//////////////////////////////////////////
//////// MAIN
//////////////////////////////////////////

region,0,500,1

offset,offset_-1,offset_-1

changefont,tahoma,14,b
time,10,0,-1,5,ls,"dddd  MMMM dd",

//if,var,var31,,=,0						//CHANGE WEATHER ICON SET
//imagebutton,175,3,weather.png,t,
//button,175,3,20,17,-1,6,var31=1,-1
//else
//if,var,var31,,=,1
//imagebutton,175,3,weather.png,t,
//button,175,3,20,17,-1,6,var31=2,-1
//else
//imagebutton,175,3,weather.png,t,
//button,175,3,20,17,-1,6,var31=0,-1
//endif
//endif


changefont,tahoma,12,b
color,font,0_0_128

color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

color,transparent,255_0_255
color,replacement,-1_6_-1,0_0_0
color,shadow,125_125_125
offsetadd,0,2


// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif


offsetadd,0,17

load,city,1
calcvar,var10,weatherupdatetimediff


if,var,var10,,<,240
todayicon,5,-2,,t
else
calcvar,var11,firstvalidforecastday
forecasticon,%var11%,5,-2,,t
endif

button,5,-2,40,40,0,4,200,-1				//GO TO CURRENT  CONDITIONS 

image,45,2,sunrise.png,t
suntime,1,sunrise,official,40,17,HH:mm,,,l


image,75,2,sunset.png,t
suntime,1,sunset,official,70,17,HH:mm,,,l

button,45,2,60,40,0,4,400,-1				// SWITCH TO ALT MAIN
button,45,2,60,40,0,6,var1=400,0

changefont,tahoma,12,


// REFRESH DATA						
imagebutton,195,-15,refresh.png,t,0,7,,0
text,210,-17,[updatetime],l,HH:mm 


color,font,-1_4_-1



//////////////////////////////////////////



////////////////////////////////////////////////////////////
//////  SYSTEM INFORMATION  
////////////////////////////////////////////////////////////


offsetadd,0,2

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

draw,roundrect,116,2,26,9,100_100_100,h

button,100,0,42,19,-1,0,%apps-2-2,   			//POWER APPLICATION
changefont,tahoma,9,
if,batterystatusunknown
	image,100,0,Battery Part Full.png,t
	text,129,10,??,c
	changefont,tahoma,11,
	text,122,16,Updating,c
else
	battery,bar,118,4,22,5,gradient_red-green gradient.png
	if,charging
		image,100,0,Battery Charging.png,t
	else
		calcvar,var8,battery
		if,var,var8,100,><,100
			image,100,0,Battery Full.png,t
		else
			image,100,0,Battery Part Full.png,t
		endif
	endif
	battery,remaining,129,2,,%,c,%.0f
	changefont,tahoma,11,
	if,charging
		text,122,16,Charging,c
	else
		if,externalpower
			text,122,16,AC power,c
		else
			if,var,var7,1,><,1
				uptime,122,16,battery,duration,, Up,c
				button,107,20,30,11,-1,6,var7=2,0
			else
				battery,esttime,122,16,, r,c
				button,107,20,30,11,-1,6,var7=1,0
			endif
		endif
	endif
endif





// -----------------------------------------
// Program/storage memory
if,var,var2,0,><,0
	image,148,0,Program Memory.png,t
	button,148,0,13,19,-1,6,var2=1,0
	draw,roundrect,163,2,26,9,100_100_100,h
	button,163,0,26,11,-1,0,%apps-2-3,  		//SYSTEM MEMORY APPLICATION
	memory,progusedbar,165,4,22,5,gradient_green-red gradient.png
	changefont,tahoma,9
	memory,programusedpercent,177,2,,%,c,%.0f
	changefont,tahoma,11
	if,var,var5,1,><,1
		calcvar,var8,programmemoryusedpercent
		if,var,var8,1,><,80
		else
			color,font,255_0_0
		endif
		memory,programfree,168,16,,MB f,c,%.1f
		button,148,16,40,11,-1,6,var5=2,0
	else
		memory,programused,168,16,,MB u,c,%.1f
		button,148,16,40,11,-1,6,var5=1,0
	endif
	color,font,-1_4_-1
else
	image,148,0,Storage Memory.png,t
	button,148,0,13,19,-1,6,var2=0,0
	draw,roundrect,163,2,26,9,100_100_100,h
	button,163,0,26,11,-1,0,%apps-2-3,  		//SYSTEM MEMORY APPLICATION
	storage,internal,bar,165,4,28,5,gradient_green-red gradient.png
	changefont,tahoma,9
	storage,internal,usedpercent,177,2,,%,c,%.0f
	changefont,tahoma,11
	if,var,var5,1,><,1
		storage,internal,free,168,16,,MB f,c,%.1f
		button,148,16,40,11,-1,6,var5=2,0
	else
		storage,internal,used,168,16,,MB u,c,%.1f
		button,148,16,40,11,-1,6,var5=1,0
	endif
endif
// END Program/storage memory
// -----------------------------------------

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif


// -----------------------------------------
// Storage devices
if,var,var3,,=,1
	image,195,0,SD Card.PNG,t
	if,storage,2
		button,195,0,10,15,-1,6,var3=2,0
	else
		if,storage,3
			button,195,0,10,15,-1,6,var3=3,0
		else
		endif
	endif

	draw,roundrect,210,2,26,9,100_100_100,h
	button,210,0,26,11,-1,0,%apps-2-4,  		//CF MEMORY APPLICATION
	storage,1,bar,212,4,22,5,gradient_green-red gradient.png
	changefont,tahoma,9
	storage,1,usedpercent,224,2,,%,c,%.0f
	changefont,tahoma,11
	if,var,var6,1,><,1
		storage,1,free,215,16,,MB f,c,%.1f
		button,195,16,40,11,-1,6,var6=2,0
	else
		storage,1,used,215,16,,MB u,c,%.1f
		button,195,16,40,11,-1,6,var6=1,0
	endif
else
	if,var,var3,,=,2
		image,195,0,iPAQ File Store.png,t
		if,storage,3
			button,195,0,10,15,-1,6,var3=3,0
		else
			if,storage,1
				button,195,0,10,15,-1,6,var3=1,0
			else
			endif
		endif

		draw,roundrect,210,2,26,9,100_100_100,h
		button,210,0,26,11,-1,0,%apps-2-4,  	//CF MEMORY APPLICATION
		storage,2,bar,212,4,22,5,gradient_green-red gradient.png
		changefont,tahoma,9
		storage,2,usedpercent,224,2,,%,c,%.0f
		changefont,tahoma,11
		if,var,var6,1,><,1
			storage,2,free,215,16,,MB f,c,%.1f
			button,195,16,40,11,-1,6,var6=2,0
		else
			storage,2,used,215,16,,MB u,c,%.1f
			button,195,16,40,11,-1,6,var6=1,0
		endif
	else
		image,195,0,CF Card.png,t
		if,storage,1
			button,195,0,10,15,-1,6,var3=1,0
		else
			if,storage,2
				button,195,0,10,15,-1,6,var3=2,0
			else
			endif
		endif

		draw,roundrect,210,2,26,9,100_100_100,h
		button,210,0,26,11,-1,0,%apps-2-4,  	//CF MEMORY APPLICATION
		storage,3,bar,212,4,22,5,gradient_green-red gradient.png
		changefont,tahoma,9
		storage,3,usedpercent,224,2,,%,c,%.0f
		changefont,tahoma,11
		if,var,var6,1,><,1
			storage,3,free,215,16,,MB f,c,%.1f
			button,195,16,40,11,-1,6,var6=2,0
		else
			storage,3,used,214,16,,MB u,c,%.1f
			button,195,16,40,11,-1,6,var6=1,0
		endif
	endif
endif
/////////////////////////////////////////////////////////
//////// END SYSTEM INFORMATION
//////////////////////////////////////////////////////////

endregion,0,0


offsetadd,0,35
endregion,0,500

//////////////////////////////////////////
//////// END MAIN
//////////////////////////////////////////

//// CURRENT CONDITIONS
region,0,200,-1
offsetadd,0,9

changefont,tahoma,12,b
color,font,0_0_128

changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,city,%var12%

// BACK BUTTON
button,0,-2,240,54,0,3,,0


changefont,Tahoma,12,b
todayicon,5,8,,t
//text,3,-2,[name],l
text,4,-9,[name],l
changefont,Tahoma,11
text,45,0,Now : ,l
changefont,tahoma,11,b
today,sky,139,0,,,c
changefont,tahoma,11
text,45,12,Real  :,l
changefont,tahoma,11,b
today,temp,104,12,,F,r
changefont,Tahoma,11
text,45,23,Feels :,l
changefont,tahoma,11,b
today,realtemp,104,23,,F,r
changefont,Tahoma,11
text,112,12,Humidity :,l
changefont,tahoma,11,b
today,humidity,188,12,,%,r
changefont,Tahoma,11
text,112,23,Updated ,l
//today,barometer,190,23,, in,r
text,173,23,[updatetime],c,l
//today,date,131,23,,,l
	
	
load,city,%var12%
image,197,4,sunrise.png,
suntime,%var12%,sunrise,official,215,6,HH:mm,,,l

image,197,22,sunset.png,
suntime,%var12%,sunset,official,215,24,HH:mm,,,l

offsetadd,0,47
endregion,0,200



//////////////////////////////////////////
//////// ALTERNATIVE MAIN
//////////////////////////////////////////

region,0,400,1

offset,offset_-1,offset_-1

changefont,tahoma,14,b
time,10,0,-1,5,ls,"dddd  MMMM dd",

//if,var,var31,,=,0						//CHANGE WEATHER ICON SET
//imagebutton,175,3,weather.png,t,
//button,175,3,20,17,-1,6,var31=1,-1
//else
//if,var,var31,,=,1
//imagebutton,175,3,weather.png,t,
//button,175,3,20,17,-1,6,var31=2,-1
//else
//imagebutton,175,3,weather.png,t,
//button,175,3,20,17,-1,6,var31=0,-1
//endif
//endif


changefont,tahoma,12,b
color,font,0_0_128

color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

color,transparent,255_0_255
color,replacement,-1_6_-1,0_0_0
color,shadow,125_125_125
offsetadd,0,2


// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif


offsetadd,0,17

load,city,1
calcvar,var10,weatherupdatetimediff


if,var,var10,,<,240
todayicon,5,-2,,t
else
calcvar,var11,firstvalidforecastday
forecasticon,%var11%,5,-2,,t
endif

button,5,-2,40,40,0,4,200,-1				//GO TO CURRENT  CONDITIONS


load,city,1
	calcvar,var30,moonphase,1			//MOON PHASES
	if,var,var30,,=,0
		image,37,-2,moon0.png,t
	else
	endif
	if,var,var30,,=,1
		image,37,-2,moon1.png,t
	else
	endif
	if,var,var30,,=,2
		image,37,-2,moon2.png,t
	else
	endif
	if,var,var30,,=,3
		image,37,-2,moon3.png,t
	else
	endif
	if,var,var30,,=,4
		image,37,-2,moon4.png,t
	else
	endif
	if,var,var30,,=,5
		image,37,-2,moon5.png,t
	else
	endif
	if,var,var30,,=,6
		image,37,-2,moon6.png,t
	else
	endif
	if,var,var30,,=,7
		image,37,-2,moon7.png,t
	else
	endif

load,city,1
changefont,tahoma,12,
moontime,1,rise,0,70,3,HH:mm,,,l
moontime,1,set,1,70,17,HH:mm,,,l
//moontime,1,visible,0,70,3,HH:mm,,%,l

button,45,-2,60,40,0,4,500,-1				//SWITCH TO MAIN
button,45,-2,60,40,0,6,var1=500,0

changefont,tahoma,12,

// REFRESH DATA						
imagebutton,195,-15,refresh.png,t,0,7,,0
text,210,-17,[updatetime],l,HH:mm 

//////////////////////////////////////////



////////////////////////////////////////////////////////////
//////  SYSTEM INFORMATION  
////////////////////////////////////////////////////////////

offsetadd,0,2

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

draw,roundrect,116,2,26,9,100_100_100,h

button,100,0,42,19,-1,0,%apps-2-2,   			//POWER APPLICATION
changefont,tahoma,9,
if,batterystatusunknown
	image,100,0,Battery Part Full.png,t
	text,129,10,??,c
	changefont,tahoma,11,
	text,122,16,Updating,c
else
	battery,bar,118,4,22,5,gradient_red-green gradient.png
	if,charging
		image,100,0,Battery Charging.png,t
	else
		calcvar,var8,battery
		if,var,var8,100,><,100
			image,100,0,Battery Full.png,t
		else
			image,100,0,Battery Part Full.png,t
		endif
	endif
	battery,remaining,129,2,,%,c,%.0f
	changefont,tahoma,11,
	if,charging
		text,122,16,Charging,c
	else
		if,externalpower
			text,122,16,AC power,c
		else
			if,var,var7,1,><,1
				uptime,122,16,battery,duration,, Up,c
				button,107,20,30,11,-1,6,var7=2,0
			else
				battery,esttime,122,16,, r,c
				button,107,20,30,11,-1,6,var7=1,0
			endif
		endif
	endif
endif





// -----------------------------------------
// Program/storage memory
if,var,var2,0,><,0
	image,148,0,Program Memory.png,t
	button,148,0,13,19,-1,6,var2=1,0
	draw,roundrect,163,2,26,9,100_100_100,h
	button,163,0,26,11,-1,0,%apps-2-3,  		//SYSTEM MEMORY APPLICATION
	memory,progusedbar,165,4,22,5,gradient_green-red gradient.png
	changefont,tahoma,9
	memory,programusedpercent,177,2,,%,c,%.0f
	changefont,tahoma,11
	if,var,var5,1,><,1
		calcvar,var8,programmemoryusedpercent
		if,var,var8,1,><,80
		else
			color,font,255_0_0
		endif
		memory,programfree,168,16,,MB f,c,%.1f
		button,148,16,40,11,-1,6,var5=2,0
	else
		memory,programused,168,16,,MB u,c,%.1f
		button,148,16,40,11,-1,6,var5=1,0
	endif
	color,font,-1_4_-1
else
	image,148,0,Storage Memory.png,t
	button,148,0,13,19,-1,6,var2=0,0
	draw,roundrect,163,2,26,9,100_100_100,h
	button,163,0,26,11,-1,0,%apps-2-3,  		//SYSTEM MEMORY APPLICATION
	storage,internal,bar,165,4,28,5,gradient_green-red gradient.png
	changefont,tahoma,9
	storage,internal,usedpercent,177,2,,%,c,%.0f
	changefont,tahoma,11
	if,var,var5,1,><,1
		storage,internal,free,168,16,,MB f,c,%.1f
		button,148,16,40,11,-1,6,var5=2,0
	else
		storage,internal,used,168,16,,MB u,c,%.1f
		button,148,16,40,11,-1,6,var5=1,0
	endif
endif
// END Program/storage memory
// -----------------------------------------

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif


// -----------------------------------------
// Storage devices
if,var,var3,,=,1
	image,195,0,SD Card.PNG,t
	if,storage,2
		button,195,0,10,15,-1,6,var3=2,0
	else
		if,storage,3
			button,195,0,10,15,-1,6,var3=3,0
		else
		endif
	endif

	draw,roundrect,210,2,26,9,100_100_100,h
	button,210,0,26,11,-1,0,%apps-2-4,  		//CF MEMORY APPLICATION
	storage,1,bar,212,4,22,5,gradient_green-red gradient.png
	changefont,tahoma,9
	storage,1,usedpercent,224,2,,%,c,%.0f
	changefont,tahoma,11
	if,var,var6,1,><,1
		storage,1,free,215,16,,MB f,c,%.1f
		button,195,16,40,11,-1,6,var6=2,0
	else
		storage,1,used,215,16,,MB u,c,%.1f
		button,195,16,40,11,-1,6,var6=1,0
	endif
else
	if,var,var3,,=,2
		image,195,0,iPAQ File Store.png,t
		if,storage,3
			button,195,0,10,15,-1,6,var3=3,0
		else
			if,storage,1
				button,195,0,10,15,-1,6,var3=1,0
			else
			endif
		endif

		draw,roundrect,210,2,26,9,100_100_100,h
		button,210,0,26,11,-1,0,%apps-2-4,  	//CF MEMORY APPLICATION
		storage,2,bar,212,4,22,5,gradient_green-red gradient.png
		changefont,tahoma,9
		storage,2,usedpercent,224,2,,%,c,%.0f
		changefont,tahoma,11
		if,var,var6,1,><,1
			storage,2,free,215,16,,MB f,c,%.1f
			button,195,16,40,11,-1,6,var6=2,0
		else
			storage,2,used,215,16,,MB u,c,%.1f
			button,195,16,40,11,-1,6,var6=1,0
		endif
	else
		image,195,0,CF Card.png,t
		if,storage,1
			button,195,0,10,15,-1,6,var3=1,0
		else
			if,storage,2
				button,195,0,10,15,-1,6,var3=2,0
			else
			endif
		endif

		draw,roundrect,210,2,26,9,100_100_100,h
		button,210,0,26,11,-1,0,%apps-2-4,	//CF MEMORY APPLICATION
		storage,3,bar,212,4,22,5,gradient_green-red gradient.png
		changefont,tahoma,9
		storage,3,usedpercent,224,2,,%,c,%.0f
		changefont,tahoma,11
		if,var,var6,1,><,1
			storage,3,free,215,16,,MB f,c,%.1f
			button,195,16,40,11,-1,6,var6=2,0
		else
			storage,3,used,214,16,,MB u,c,%.1f
			button,195,16,40,11,-1,6,var6=1,0
		endif
	endif
endif
/////////////////////////////////////////////////////////
//////// END SYSTEM INFORMATION
//////////////////////////////////////////////////////////

endregion,0,0

offsetadd,0,35
endregion,0,400

//////////////////////////////////////////
//////// END ALTERNATIVE MAIN
//////////////////////////////////////////


//////////////////////////////////////////
//////// WEATHER
//////////////////////////////////////////

region,0,1,-1
offset,offset_-1,offset_-1
updateregions,9

offsetadd,0,4

//// 4 DAY FORECAST
region,9,0,-1

changefont,tahoma,12,b
color,font,0_0_128
//text,76,-24,Forcast,c
changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

initvar,var12,1

if,var,var31,,=,0						//CHANGE WEATHER ICON SET
imagebutton,39,-2,weather.png,t,
button,39,-2,20,17,-1,6,var31=1,-1
else
if,var,var31,,=,1
imagebutton,39,-2,weather.png,t,
button,39,-2,20,17,-1,6,var31=2,-1
else
imagebutton,39,-2,weather.png,t,
button,39,-2,20,17,-1,6,var31=0,-1
endif
endif

offsetadd,0,5

if,var,var12,,>,%var13%
storevar,var12=1
else
endif

load,city,%var12%

changefont,tahoma,12,b
//text,3,-2,[name],l
text,4,-9,[name],l

changefont,tahoma,12,

calcvar,var10,weatherupdatetimediff

if,var,var10,,<,240

todayicon,5,8,,t
today,temp,48,16,,,r
changefont,tahoma,11,b
today,realtemp,50,28,,,r
changefont,tahoma,12,
button,0,7,47,54,9,4,1,0  
button,0,-7,38,11,0,13,var12_1-highlight,

forecasticon,1,51,8,,t
forecast,date_ddd,1,69,-2,,,c
forecast,high,1,94,16,,,r
forecast,low,1,94,28,,,r
button,51,-2,47,54,9,4,2,0
button,51,-2,47,54,-1,6,var9=1

forecasticon,2,97,8,,t
forecast,date_ddd,2,115,-2,,,c
forecast,high,2,140,16,,,r
forecast,low,2,140,28,,,r
button,97,-2,47,54,9,4,2,0
button,97,-2,47,54,-1,6,var9=2

forecasticon,3,143,8,,t
forecast,date_ddd,3,161,-2,,,c
forecast,high,3,186,16,,,r
forecast,low,3,186,28,,,r
button,143,-2,47,54,9,4,2,0
button,143,-2,47,54,-1,6,var9=3

forecasticon,4,189,8,,t
forecast,date_ddd,4,207,-2,,,c
forecast,high,4,232,16,,,r
forecast,low,4,232,28,,,r
button,189,14,51,38,9,4,2,0
button,189,14,51,38,-1,6,var9=4
button,189,-2,32,16,9,4,2,0
button,189,-2,32,54,-1,6,var9=4

else

calcvar,var11,firstvalidforecastday

if,var,var11,,<,6

forecasticon,%var11%,5,8,,t
forecast,high,%var11%,48,16,,,r
forecast,low,%var11%,48,28,,,r
button,0,7,52,44,9,4,2,0
button,0,7,52,44,-1,6,var9=%var11%
button,0,-7,38,11,0,13,var12_1-highlight,

addvar,var11,1

else
endif

if,var,var11,,<,6

forecasticon,%var11%,51,8,,t
forecast,date_ddd,%var11%,69,-2,,,c
forecast,high,%var11%,94,16,,,r
forecast,low,%var11%,94,28,,,r
button,51,-2,47,54,9,4,2,0
button,51,-2,47,54,-1,6,var9=%var11%

addvar,var11,1

else
endif

if,var,var11,,<,6

forecasticon,%var11%,97,8,,t
forecast,date_ddd,%var11%,115,-2,,,c
forecast,high,%var11%,140,16,,,r
forecast,low,%var11%,140,28,,,r
button,97,-2,47,54,9,4,2,0
button,97,-2,47,54,-1,6,var9=%var11%

addvar,var11,1

else
endif

if,var,var11,,<,6

forecasticon,%var11%,143,8,,t
forecast,date_ddd,%var11%,161,-2,,,c
forecast,high,%var11%,186,16,,,r
forecast,low,%var11%,186,28,,,r
button,143,-2,47,54,9,4,2,0
button,143,-2,47,54,-1,6,var9=%var11%

addvar,var11,1

else
endif

if,var,var11,,<,6

forecasticon,%var11%,189,8,,t
forecast,date_ddd,%var11%,207,-2,,,c
forecast,high,%var11%,232,16,,,r
forecast,low,%var11%,232,28,,,r
button,189,14,51,38,9,4,2,0
button,189,14,51,38,-1,6,var9=%var11%
button,189,-2,32,16,9,4,2,0
button,189,-2,32,54,-1,6,var9=%var11%

addvar,var11,1

else
endif

endif

offsetadd,0,47
endregion,9,0

//// CURRENT CONDITIONS
region,9,1,-1
offsetadd,0,5

changefont,tahoma,12,b
color,font,0_0_128

changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,city,%var12%

// BACK BUTTON
button,0,-2,240,54,9,3,,0


changefont,Tahoma,12,b
todayicon,5,8,,t
text,4,-9,[name],l
changefont,Tahoma,11
text,45,0,Now : ,l
changefont,tahoma,11,b
today,sky,139,0,,,c
changefont,tahoma,11
text,45,12,Real  :,l
changefont,tahoma,11,b
today,temp,104,12,,F,r
changefont,Tahoma,11
text,45,23,Feels :,l
changefont,tahoma,11,b
today,realtemp,104,23,,F,r
changefont,Tahoma,11
text,112,12,Humidity :,l
changefont,tahoma,11,b
today,humidity,188,12,,%,r
changefont,Tahoma,11
text,112,23,Updated ,l
text,173,23,[updatetime],c,l
	
	
load,city,%var12%
image,197,4,sunrise.png,
suntime,%var12%,sunrise,official,215,6,HH:mm,,,l

image,197,22,sunset.png,
suntime,%var12%,sunset,official,215,24,HH:mm,,,l


offsetadd,0,52
endregion,9,1

//// FORECAST DETAILS
region,9,2,-1

offsetadd,0,5
changefont,tahoma,12,b
color,font,0_0_128




changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,city,%var12%


button,0,-2,240,54,9,3,,0				// BACK BUTTON

changefont,tahoma,12,b

changefont,Tahoma,12,b
text,4,-9,[name],l
forecast,date_ddd dd,%var9%,215,-9,,,c
forecasticon,%var9%,5,8,,t
nightforecasticon,%var9%,200,8,,t
changefont,Tahoma,11
text,45,0,Day : ,l
changefont,Tahoma,11,b
forecast,text,%var9%,130,0,,,c
changefont,Tahoma,11
text,45,12,Night: ,l
changefont,Tahoma,11,b
forecast,nighttext,%var9%,130,12,,,c
changefont,Tahoma,11
text,45,24,High:,l
changefont,Tahoma,11,b
forecast,high,%var9%,70,24,,F,l
changefont,Tahoma,11
text,99,24,Low:,l
changefont,Tahoma,11,b
forecast,low,%var9%,123,24,,F,l
changefont,Tahoma,11
text,150,24,Rain:,l
changefont,Tahoma,11,b
forecast,precipitation,%var9%,173,24,,%,l


change font, Tohama,12,
offsetadd,0,47
endregion,9,2

color,font,-1_4_-1
endregion,0,1

//////////////////////////////////////////
//////// END WEATHER
//////////////////////////////////////////


//////////////////////////////////////////

region,19,1,5
defregion-copy,19,0
updateregions,0
addvar,var16,3
addvar,var17,2
if,var,var16,16,><,16
storevar,var16=1
storevar,var17=25
else
endif
endregion,19,1

//////////////////////////////////////////


//////////////////////////////////////////
//////// RSS
//////////////////////////////////////////

region,0,100,-1
offset,offset_-1,offset_-1
updateregions,16

region,16,0,-1
offsetadd,0,2

initvar,var14,1



if,var,var14,,>,%var18%
storevar,var14=1
else
endif

if,var,var14,,<,1
storevar,var14=%var18%
else
endif


imagebutton,3,17,arrow_up.png,t,0,13,var16_-3,-1

imagebutton,3,33,arrow_down.png,t,0,13,var16_3,-1

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

changefont,tahoma,11,b


if,var,var16,,<,3
text,70,1,1,r
else
endif
if,var,var16,3,><,6
text,70,1,2,r
else
endif
if,var,var16,6,><,9
text,70,1,3,r
else
endif
if,var,var16,9,><,12
text,70,1,4,r
else
endif
if,var,var16,,>,12
text,70,1,5,r
else
endif

changefont,tahoma,11,


if,var,var16,,>,15
storevar,var16=13
else
endif

if,var,var16,,<,1
storevar,var16=1
else
endif

load,rss,%var14%

if,var,var14,,<,10
if,online,true

imagebutton,3,1,online.png,t,0,31,,-1
imagebutton,220,14,link-online.png,t,-1,12,%var16%
addvar,var16,1
imagebutton,220,26,link-online.png,t,-1,12,%var16%
addvar,var16,1
imagebutton,220,38,link-online.png,t,-1,12,%var16%
addvar,var16,-2

else

imagebutton,3,1,offline.png,t,0,30,,-1
imagebutton,221,14,link-offline.png,t,-1,12,%var16%
addvar,var16,1
imagebutton,221,26,link-offline.png,t,-1,12,%var16%
addvar,var16,1
imagebutton,221,38,link-offline.png,t,-1,12,%var16%
addvar,var16,-2

endif
else
endif


// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

// PAGE NUMBER
changefont,tahoma,11,b
text,20,1,%var14%,l
text,39,1,/9,r
changefont,tahoma,11,


if,var,var14,,=,10

changefont,tahoma,12,b
color,font,0_0_128

RSS,title,18,14,81,12,%var16%,,,
addvar,var16,1
RSS,title,18,26,81,12,%var16%,,,
addvar,var16,1
RSS,title,18,38,81,12,%var16%,,,
addvar,var16,-2

load,rss,10

RSS,title,18,14,81,12,%var16%,,,
addvar,var16,1
RSS,title,18,26,81,12,%var16%,,,
addvar,var16,1
RSS,title,18,38,81,12,%var16%,,,
addvar,var16,-2

load,rss,11

RSS,title,18,14,81,12,%var16%,,,
addvar,var16,1
RSS,title,18,26,81,12,%var16%,,,
addvar,var16,1
RSS,title,18,38,81,12,%var16%,,,
addvar,var16,-2

else


changefont,tahoma,12,b
color,font,0_0_128


// GRAY TEXT WHEN REFRESHING
if,refresh,
color,font,125_125_125
else
color,font,-1_4_-1
endif


button,70,0,100,12,0,13,var14_1-highlight,-1		//ADVANCE TO NEXT FEED ON TITLE
button,70,0,1000,12,-1,6,var16=1
button,70,0,100,12,-1,6,var17=25

// REFRESH DATA						
 changefont,tahoma,11
imagebutton,195,2,refresh.png,t,0,7,,0
text,210,1,[updatetime],l,HH:mm 


changefont,tahoma,11,b
text,120,1,[name],c
changefont,tahoma,11,

RSS,title,18,14,207,12,%var16%,,,
button,15,14,205,12,16,4,100-highlight,-1
button,15,14,205,12,-1,6,var15=%var16%
button,15,14,205,12,11,4,3,-1  				//MIMIMIZE LAUNCH
addvar,var16,1

RSS,title,18,26,207,12,%var16%,,,
button,15,26,205,12,16,4,100-highlight,-1
button,15,26,205,12,-1,6,var15=%var16%
button,15,26,205,12,11,4,3,-1  				//MIMIMIZE LAUNCH
addvar,var16,1

RSS,title,18,38,207,12,%var16%,,,
button,15,38,205,12,16,4,100-highlight,-1
button,15,38,205,12,-1,6,var15=%var16%
button,15,38,205,12,11,4,3,-1  				//MIMIMIZE LAUNCH
addvar,var16,-2

endif



offsetadd,0,54
endregion,16,0

region,16,100,-1
jumpregion,19,0
offsetadd,0,2

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,rss,%var14%

button,0,-3,240,75,16,3,,-1				// BACK BUTTON
button,0,-3,240,75,11,4,0,-1  				//MAXIMIZE LAUNCH
changefont,tahoma,11,b
RSS,title,19,1,202,12,%var15%,,,c
changefont,tahoma,11,
RSS,description,5,14,230,55,%var15%,     ,,

offsetadd,0,75
endregion,16,100
		
color,font,-1_4_-1		
endregion,0,100

//////////////////////////////////////////
//////// END RSS
//////////////////////////////////////////


//////////////////////////////////////////
////////   TIME ZONES
//////// 
//////////////////////////////////////////

region,0,5,60  						// REFRESHES CLOCKS EVERY 60 SECONDS

changefont,tahoma,12,b
color,font,0_0_128

color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

changefont,tahoma,13,b
changefont,tahoma,10,b

offsetadd,0,3



options,imagedir,Images\Breeze
color,transparent,255_0_255
color,replacement,0_0_0,0_0_0
color,shadow,125_125_125


button,0,-1,240,54,0,4,6,-1				//SECOND TIME PAGE



//offsetadd,0,5

image,5,15,digitalclock.png,t
color,font,255_255_255
changefont,tahoma,12,b
time,26,20,1,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,26,2,[name],c

image,52,15,digitalclock.png,t
changefont,tahoma,12,b
color,font,255_255_255
time,73,20,2,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,73,2,[name],c

image,98,15,digitalclock.png,t

changefont,tahoma,12,b
color,font,255_255_255
time,119,20,3,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,118,2,[name],c

image,144,15,digitalclock.png,t

changefont,tahoma,12,b
color,font,255_255_255
time,165,20,4,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,164,2,[name],c

image,190,15,digitalclock.png,t
changefont,tahoma,12,b
color,font,255_255_255
time,211,20,5,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,211,2,[name],c

changefont,tahoma,12,
color,replacement,-1_6_-1,0_0_0
offsetadd,0,53
endregion,0,5

region,0,6,60  						// REFRESHES CLOCKS EVERY 60 SECONDS

changefont,tahoma,12,b
color,font,0_0_128

color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

changefont,tahoma,13,b
changefont,tahoma,10,b

offsetadd,0,3


options,imagedir,Images\Breeze
color,transparent,255_0_255
color,replacement,0_0_0,0_0_0
color,shadow,125_125_125


button,0,-1,240,54,0,4,5,-1				//FIRST TIME PAGE


color,replacement,-1_6_-1,120_120_120
color,shadow,55_55_55

image,5,15,digitalclock.png,t

color,font,255_255_255
changefont,tahoma,12,b
time,26,20,6,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,26,2,[name],c

image,52,15,digitalclock.png,t
changefont,tahoma,12,b
color,font,255_255_255
time,73,20,7,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,73,2,[name],c

image,98,15,digitalclock.png,t

changefont,tahoma,12,b
color,font,255_255_255
time,119,20,8,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,118,2,[name],c

image,144,15,digitalclock.png,t

changefont,tahoma,12,b
color,font,255_255_255
time,165,20,9,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,164,2,[name],c

image,190,15,digitalclock.png,t
changefont,tahoma,12,b
color,font,255_255_255
time,211,20,10,4,cs
changefont,tahoma,11,
color,font,-1_4_-1
text,211,2,[name],c

changefont,tahoma,12,
color,replacement,-1_6_-1,0_0_0
offsetadd,0,53
endregion,0,6

//////////////////////////////////////////
//////// END TIMEZONES
//////////////////////////////////////////



////////////////////////////////////////////
///////CONTROL PANEL
///////////////////////////////////////////

region,0,11


offset,offset_-1,offset_-1
updateregions,0

changefont,tahoma,13,b
text,100,0,System,l,
button,100,0,50,13,0,4,12_1-highlight,-1
changefont,tahoma,13

shortcut,2,15,apps-3-1,s
button,2,15,67,16,-1,0,%apps-3-1
text,27,15,Memory,l

shortcut,2,35,apps-3-2,s
button,2,35,67,16,-1,0,%apps-3-2
text,27,35,Card,l

shortcut,2,55,apps-3-3,s
button,2,55,67,16,-1,0,%apps-3-3
text,27,55,Programs,l

shortcut,80,15,apps-3-4,s
button,80,15,67,16,-1,0,%apps-3-4
text,105,15,Battery,l

shortcut,80,35,apps-3-5,s
button,80,35,67,16,-1,0,%apps-3-5
text,105,35,Backlight,l

shortcut,80,55,apps-3-6,s
button,80,55,67,16,-1,0,%apps-3-6
text,105,55,Clock,l

shortcut,160,15,apps-3-7,s
button,160,15,67,16,-1,0,%apps-3-7
text,185,15,Remove,l

shortcut,160,35,apps-3-8,s
button,160,35,67,16,-1,0,%apps-3-8
text,185,35,Regonal,l

shortcut,160,55,apps-3-9,s
button,160,55,67,16,-1,0,%apps-3-9
text,185,55,Restart,l

shortcut,0,0,blank,s  					//Prevents text from appearing in other sections

offsetadd,0,77

endregion,0,11

region,0,12,-1
offset,offset_-1,offset_-1
updateregions,0


changefont,tahoma,13,b
text,100,0,Personal,l,
button,100,0,55,13,0,4,13_1-highlight,-1
changefont,tahoma,13

shortcut,2,15,apps-3-10,s
button,2,15,67,16,-1,0,%apps-3-10
text,27,15,Password,l

shortcut,2,35,apps-3-11,s
button,2,35,67,16,-1,0,%apps-3-11
text,27,35,Buttons,l

shortcut,2,55,apps-3-12,s
button,2,55,67,16,-1,0,%apps-3-12
text,27,55,Input,l

shortcut,80,15,apps-3-13,s
button,80,15,67,16,-1,0,%apps-3-13
text,105,15,Today,l

shortcut,80,35,apps-3-14,s
button,80,35,67,16,-1,0,%apps-3-14
text,105,35,Plugins,l

shortcut,80,55,apps-3-15,s
button,80,55,67,16,-1,0,%apps-3-15
text,105,55,Menus,l

shortcut,160,15,apps-3-16,s
button,160,15,67,16,-1,0,%apps-3-16
text,185,15,Audio,l

shortcut,160,35,apps-3-17,s
button,160,35,67,16,-1,0,%apps-3-17
text,185,35,Volume,l

shortcut,160,55,apps-3-18,s
button,160,55,67,16,-1,0,%apps-3-18
text,185,55,Notificaion,l

shortcut,0,0,blank,s  					//Prevents text from appearing in other sections


offsetadd,0,77

endregion,0,12

region,0,13,-1
offset,offset_-1,offset_-1
updateregions,0


changefont,tahoma,13,b
text,100,0,Connections,l,
button,100,0,75,13,0,4,11_1-highlight,-1
changefont,tahoma,13

shortcut,2,15,apps-3-19,s
button,2,15,67,16,-1,0,%apps-3-19
text,27,15,Beam,l

shortcut,2,35,apps-3-20,s
button,2,35,67,16,-1,0,%apps-3-20
text,27,35,Bluetooth,l

shortcut,2,55,apps-3-21,s
button,2,55,67,16,-1,0,%apps-3-21
text,27,55,Connections,l

shortcut,80,15,apps-3-22,s
button,80,15,67,16,-1,0,%apps-3-22
text,105,15,Network,l

//shortcut,80,35,apps-3-23,s
//button,80,35,67,16,-1,0,%apps-3-23
//text,105,35,Blank,l

//shortcut,80,55,apps-3-24,s
//button,80,55,67,16,-1,0,%apps-3-24
//text,105,55,Blank,l

//shortcut,160,15,apps-3-25,s
//button,160,15,67,16,-1,0,%apps-3-25
//text,185,15,Blank,l

//shortcut,160,35,apps-3-26,s
//button,160,35,67,16,-1,0,%apps-3-26
//text,185,35,Blank,l

//shortcut,160,55,apps-3-27,s
//button,160,55,67,16,-1,0,%apps-3-27
//text,185,55,Blank,l

shortcut,0,0,blank,s  					//Prevents text from appearing in other sections

offsetadd,0,77

endregion,0,13

////////////////////////////////////////////
///////END CONTROL PANEL
///////////////////////////////////////////

/////////////////////////////////////////////
///// LAUNCH REGION ///////////////////////////
//////////////////////////////////////////////

region,11,0,-1
defregion,11,0,0,240,21,2
offset,offset_-1,offset_-1
updateregions,11

imagebutton,222,2,arrow_right.png,t,11,4,1,11
//imagebutton,220,0,arrow_down.png,t,11,4,1,11

shortcut,2,0,apps-1-1,s
button,2,0,16,16,-1,0,%apps-1-1
shortcut,22,0,apps-1-2,s
button,22,0,16,16,-1,0,%apps-1-2
shortcut,42,0,apps-1-3,s
button,42,0,16,16,-1,0,%apps-1-3
shortcut,62,0,apps-1-4,s
button,62,0,16,16,-1,0,%apps-1-4
shortcut,82,0,apps-1-5,s
button,82,0,16,16,-1,0,%apps-1-5
shortcut,102,0,apps-1-6,s
button,102,0,16,16,-1,0,%apps-1-6
shortcut,122,0,apps-1-7,s
button,122,0,16,16,-1,0,%apps-1-7
shortcut,142,0,apps-1-8,s
button,142,0,16,16,-1,0,%apps-1-8
shortcut,162,0,apps-1-9,s
button,162,0,16,16,-1,0,%apps-1-9
shortcut,182,0,apps-1-10,s
button,182,0,16,16,-1,0,%apps-1-10
shortcut,202,0,apps-1-11,s
button,202,0,16,16,-1,0,%apps-1-11

shortcut,0,0,blank,s  					//Prevents text from appearing in other sections

offsetadd,0,21

endregion,11,0

region,11,1,-1
offset,offset_-1,offset_-1
updateregions,11


imagebutton,222,2,arrow_right.png,t,11,4,0,11
//imagebutton,220,2,arrow_down.png,t,11,4,0,11


shortcut,2,0,apps-1-12,s
button,2,0,16,16,-1,0,%apps-1-12
shortcut,22,0,apps-1-13,s
button,22,0,16,16,-1,0,%apps-1-13
shortcut,42,0,apps-1-14,s
button,42,0,16,16,-1,0,%apps-1-14
shortcut,62,0,apps-1-15,s
button,62,0,16,16,-1,0,%apps-1-15
shortcut,82,0,apps-1-16,s
button,82,0,16,16,-1,0,%apps-1-16
shortcut,102,0,apps-1-17,s
button,102,0,16,16,-1,0,%apps-1-17
shortcut,122,0,apps-1-18,s
button,122,0,16,16,-1,0,%apps-1-18
shortcut,142,0,apps-1-19,s
button,142,0,16,16,-1,0,%apps-1-19
shortcut,162,0,apps-1-20,s
button,162,0,16,16,-1,0,%apps-1-20
shortcut,182,0,apps-1-21,s
button,182,0,16,16,-1,0,%apps-1-21
shortcut,202,0,apps-1-22,s
button,202,0,16,16,-1,0,%apps-1-22

shortcut,0,0,blank,s  					//Prevents text from appearing in other sections


offsetadd,0,21

endregion,11,1

//////////////////////////////////////////////
/////////////END LAUNCH REGION ///////////////
//////////////////////////////////////////////












